import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './permission'
import '../src/style/index.less'
import '../mock/index'

import Vant from 'vant'
import 'vant/lib/index.css'
import { Tabbar, TabbarItem, NavBar } from 'vant'
import { Swipe, SwipeItem } from 'vant'
import { Card } from 'vant'
import { Button } from 'vant'
import { Search } from 'vant'
import { Tab } from 'vant'
import { Tabs } from 'vant'
import { Grid } from 'vant'
import { GridItem } from 'vant'
import { ConfigProvider, Rate} from 'vant'
import { Image as VanImage } from 'vant'
import { ShareSheet } from 'vant'
import { ActionBar, ActionBarIcon, ActionBarButton } from 'vant'

import '../mock/index'


createApp(App)
    .use(Vant)
    .use(Tabbar)
    .use(store)
    .use(NavBar)
    .use(router)
    .use(TabbarItem)
    .use(Swipe)
    .use(SwipeItem)
    .use(Card)
    .use(Button)
    .use(Search)
    .use(Grid)
    .use(GridItem)
    .use(VanImage)
    .use(ConfigProvider)
    .use(Tab)
    .use(Tabs)
    .use(Rate)
    .use(ShareSheet)
    .use(ActionBar)
    .use(ActionBarIcon)
    .use(ActionBarButton)

    .mount('#app')

